/*
 * @Author: szx
 * @Date: 2023-03-30 13:38:15
 * @LastEditTime: 2023-03-30 14:38:20
 * @Description: 
 * @FilePath: \learn\fullstackopen\part4\utils\logger.js
 */
const info = (...params) => {
    if (process.env.NODE_ENV !== 'test') {
        console.log(...params)
    }
}

const error = (...params) => {
    if (process.env.NODE_ENV !== 'test') {
        console.error(...params)
    }
}

module.exports = {
    info, error
}